﻿using System;
using System.Collections.Generic;

namespace Codeflows
{
    class ParsedExpression
    {
        public string ActionName { get; private set; }
        public IDictionary<string, object> Arguments { get; private set; }

        public ParsedExpression(string actionName, IDictionary<string, object> arguments)
        {
            if (actionName == null) throw new ArgumentNullException("actionName");
            if (arguments == null) throw new ArgumentNullException("arguments");

            ActionName = actionName;
            Arguments = arguments;
        }
    }
}
